﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using TeenyGrab.Objects;
using System.Drawing;
using System.IO;
using System.Drawing.Imaging;
using TeenyGrab.Helpers;

namespace TeenyGrab.Windows
{
    /// <summary>
    /// Interaction logic for PopupOutputWindow.xaml
    /// </summary>
    public partial class PopupOutputWindow : Window
    {
        public PopupOutputWindow(ImageObject Image)
        {
            InitializeComponent();

            imageDisplay.Source = new Bitmap(Image.Image).ToBitmapImage();
            imageDisplay.Width = Image.Image.Width;
            imageDisplay.Height = Image.Image.Height;
        }
    }
}
